package com.wanke.service;

import com.wanke.domain.po.Measurement;

import java.time.LocalDateTime;
import java.util.List;

public interface MeasurementService {

    public void insertTempMeasurement(List<Measurement> measurements);

    void insertBackMeasurement(List<Measurement> measurements);

    public List<Measurement> findTempAll(LocalDateTime end, int size, int page);

    public Long findMeasurementTempAllSize(LocalDateTime end);

    public boolean deleteTempMeausremnet(LocalDateTime end);

    public Long findMeasurementBackAllSize(String s, String s1);

    public List<Measurement> findMeasurementBackAll(String start, String end, int pollSize, int page);

    void delete(LocalDateTime end);
}
